package com.ouc.openplatform.zykt.standardManage.service;

import com.ouc.openplatform.zykt.standardManage.dto.NJ_TestItemTempletDTO;

import io.terminus.pampas.client.Export;

public interface NJ_ClientTestItemTempletService {
	
	@Export(paramNames = {})
	public Object getAllTestItem();//查找所有测试项目
	
	@Export(paramNames = {"tstId"})
	public Object getAllTestItemByTstId(int tstId);//按标准ID查找
	
	@Export(paramNames = {"testStandardID","itemName","page","rows"})
	public Object searchAllTestItem(int testStandardID,String itemName,
			String page,String rows);//查找所有测试项目
	
	@Export(paramNames = {"id"})
	public NJ_TestItemTempletDTO searchTestItemByID(int id);//按ID查询
	
	@Export(paramNames = {"testItemTempletDTO"})
	public int insertTestItem(NJ_TestItemTempletDTO testItemTempletDTO);//增加测试项目
	
	@Export(paramNames = {"item_id"})
	public int deleteTestItem(int item_id);//删除测试项目
	
	@Export(paramNames = {"testItemTempletDTO"})
	public int editTestItem(NJ_TestItemTempletDTO testItemTempletDTO);//编辑测试项目
	
	@Export(paramNames = {"data","flag","realname"})
	public int insertTestItemByExl(String data[][], String flag,String realname);//标准项Excel导入
}
